<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.box1{
				width: 200px;
				height: 200px;
				background-color: #bfa;
				/*
				用这个属性处理“子元素的溢出”
				可选值：
					-auto 会根据需求自动添加（横向或者竖向）的滚动条
				*/
				overflow: auto;
			}
			
			.box2{
				width: 100px;
				height: 500px;
				background-color: red;
			}
		</style>
	</head>
	<body>
		<div class="box1">
			<div class="box2">
				
			</div>
		</div>
		<spa>111111111111111111111111111111111</spa>
	</body>
</html>
